// PCS基本运行信息/直流电压
import request from '../api'

export function pcsInfo(param) {
	return request({
		url: '/battery/pcsInfo',
		method: 'get',
		params: param,
	})
}
export function pvInfo(param) {
	return request({
		url: '/pv/info',
		method: 'get',
		params: param,
	})
}

// 实时功率曲线
export function realTimePower(param) {
	return request({
		url: '/pv/realTimePower',
		method: 'get',
		params: param,
	})
}
// 周发电量
export function weeklyPowerGeneration(param) {
	return request({
		url: '/pv/weeklyPowerGeneration',
		method: 'get',
		params: param,
	})
}
export function monthlyPowerGeneration(param) {
	return request({
		url: '/pv/monthlyPowerGeneration',
		method: 'get',
		params: param,
	})
}
//soc值
export function getSOC(param) {
	return request({
		url: '/common/findDataByPcsIdAndNameGetPileData',
		method: 'get',
		params: param,
	})
}
//SOC曲线
export function getSOCLine(param) {
	return request({
		url: '/common/PcsGetBms',
		method: 'get',
		params: param,
	})
}
